package com.banzhi.shop.data;

import java.util.List;

/**
 * Created by Administrator on 2018/11/9.
 */

public class ChoiceData {

    /**
     * code : 0
     * msg : success
     * advs : [{"id":1072,"advname":"第一个幻灯片","link":"121","thumb":"http://img.banzhishenghuo.com/images/3/2018/05/O7Jq9N6n6Be9L95b5QN7AvhlL53n66.png","action":1}]
     * category : [{"id":0,"advimg":"","name":"全部","displayorder":-1},{"id":1258,"advimg":"","name":"满88选3件","displayorder":1},{"id":1257,"advimg":"","name":"满66选3件","displayorder":0}]
     * goods : [{"id":1556,"title":"测试商品2","thumb":"http://img.banzhishenghuo.com/images/3/2018/03/RG5lTn4SqUo4NS4sQSSJUvnTW4WUqj.png","thumb_url":"a:2:{i:0;s:81:\"http://img.banzhishenghuo.com/images/3/2018/03/i2AAH5l2M57tuULB5Q0LE55aqjTQfa.png\";i:1;s:81:\"http://img.banzhishenghuo.com/images/3/2018/03/RG5lTn4SqUo4NS4sQSSJUvnTW4WUqj.png\";}","productprice":"20.00","marketprice":"10.00","total":25,"sales":0,"showtotal":1,"sharebtn":0,"isagentgoods":0,"begin_price":"10.00","end_price":"20.00","images":["http://img.banzhishenghuo.com/images/3/2018/03/i2AAH5l2M57tuULB5Q0LE55aqjTQfa.png","http://img.banzhishenghuo.com/images/3/2018/03/RG5lTn4SqUo4NS4sQSSJUvnTW4WUqj.png"],"profit":"5.00"},{"id":1555,"title":"第一个测试商品","thumb":"http://img.banzhishenghuo.com/images/3/2018/09/A7AaCC6a6Et1tZAEtx19PDcpAc3eth.png","thumb_url":"a:4:{i:0;s:81:\"http://img.banzhishenghuo.com/images/3/2018/09/A7AaCC6a6Et1tZAEtx19PDcpAc3eth.png\";i:1;s:81:\"http://img.banzhishenghuo.com/images/3/2018/09/CRZuKoxkhAO9hUCuaCKLn7UuX18o1a.png\";i:2;s:81:\"http://img.banzhishenghuo.com/images/3/2018/05/WugfZ5Pzy5qB5QXBxjf5byy0buS0jX.png\";i:3;s:81:\"http://img.banzhishenghuo.com/images/3/2018/05/dA0U55xxH1A5HiLn0ljnHuh1upt1L1.png\";}","productprice":"200.00","marketprice":"100.00","total":30,"sales":0,"showtotal":1,"sharebtn":0,"isagentgoods":0,"begin_price":"100.00","end_price":"100.00","images":["http://img.banzhishenghuo.com/images/3/2018/09/A7AaCC6a6Et1tZAEtx19PDcpAc3eth.png","http://img.banzhishenghuo.com/images/3/2018/09/CRZuKoxkhAO9hUCuaCKLn7UuX18o1a.png","http://img.banzhishenghuo.com/images/3/2018/05/WugfZ5Pzy5qB5QXBxjf5byy0buS0jX.png","http://img.banzhishenghuo.com/images/3/2018/05/dA0U55xxH1A5HiLn0ljnHuh1upt1L1.png"],"profit":"10.00"}]
     */

    private String code;
    private String msg;
    private List<AdvsBean> advs;
    private List<CategoryBean> category;
    private List<GoodsBean> goods;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<AdvsBean> getAdvs() {
        return advs;
    }

    public void setAdvs(List<AdvsBean> advs) {
        this.advs = advs;
    }

    public List<CategoryBean> getCategory() {
        return category;
    }

    public void setCategory(List<CategoryBean> category) {
        this.category = category;
    }

    public List<GoodsBean> getGoods() {
        return goods;
    }

    public void setGoods(List<GoodsBean> goods) {
        this.goods = goods;
    }

    public static class AdvsBean {
        /**
         * id : 1072
         * advname : 第一个幻灯片
         * link : 121
         * thumb : http://img.banzhishenghuo.com/images/3/2018/05/O7Jq9N6n6Be9L95b5QN7AvhlL53n66.png
         * action : 1
         */

        private String id;
        private String advname;
        private String link;
        private String thumb;
        private String action;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getAdvname() {
            return advname;
        }

        public void setAdvname(String advname) {
            this.advname = advname;
        }

        public String getLink() {
            return link;
        }

        public void setLink(String link) {
            this.link = link;
        }

        public String getThumb() {
            return thumb;
        }

        public void setThumb(String thumb) {
            this.thumb = thumb;
        }

        public String getAction() {
            return action;
        }

        public void setAction(String action) {
            this.action = action;
        }
    }

    public static class CategoryBean {
        /**
         * id : 0
         * advimg :
         * name : 全部
         * displayorder : -1
         */

        private String id;
        private String advimg;
        private String name;
        private String displayorder;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getAdvimg() {
            return advimg;
        }

        public void setAdvimg(String advimg) {
            this.advimg = advimg;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getDisplayorder() {
            return displayorder;
        }

        public void setDisplayorder(String displayorder) {
            this.displayorder = displayorder;
        }
    }

    public static class GoodsBean {
        /**
         * id : 1556
         * title : 测试商品2
         * thumb : http://img.banzhishenghuo.com/images/3/2018/03/RG5lTn4SqUo4NS4sQSSJUvnTW4WUqj.png
         * thumb_url : a:2:{i:0;s:81:"http://img.banzhishenghuo.com/images/3/2018/03/i2AAH5l2M57tuULB5Q0LE55aqjTQfa.png";i:1;s:81:"http://img.banzhishenghuo.com/images/3/2018/03/RG5lTn4SqUo4NS4sQSSJUvnTW4WUqj.png";}
         * productprice : 20.00
         * marketprice : 10.00
         * total : 25
         * sales : 0
         * showtotal : 1
         * sharebtn : 0
         * isagentgoods : 0
         * begin_price : 10.00
         * end_price : 20.00
         * images : ["http://img.banzhishenghuo.com/images/3/2018/03/i2AAH5l2M57tuULB5Q0LE55aqjTQfa.png","http://img.banzhishenghuo.com/images/3/2018/03/RG5lTn4SqUo4NS4sQSSJUvnTW4WUqj.png"]
         * profit : 5.00
         */

        private String id;
        private String title;
        private String thumb;
        private String thumb_url;
        private String productprice;
        private String marketprice;
        private String total;
        private String sales;
        private String showtotal;
        private String sharebtn;
        private String isagentgoods;
        private String begin_price;
        private String end_price;
        private String profit;
        private List<String> images;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getThumb() {
            return thumb;
        }

        public void setThumb(String thumb) {
            this.thumb = thumb;
        }

        public String getThumb_url() {
            return thumb_url;
        }

        public void setThumb_url(String thumb_url) {
            this.thumb_url = thumb_url;
        }

        public String getProductprice() {
            return productprice;
        }

        public void setProductprice(String productprice) {
            this.productprice = productprice;
        }

        public String getMarketprice() {
            return marketprice;
        }

        public void setMarketprice(String marketprice) {
            this.marketprice = marketprice;
        }

        public String getTotal() {
            return total;
        }

        public void setTotal(String total) {
            this.total = total;
        }

        public String getSales() {
            return sales;
        }

        public void setSales(String sales) {
            this.sales = sales;
        }

        public String getShowtotal() {
            return showtotal;
        }

        public void setShowtotal(String showtotal) {
            this.showtotal = showtotal;
        }

        public String getSharebtn() {
            return sharebtn;
        }

        public void setSharebtn(String sharebtn) {
            this.sharebtn = sharebtn;
        }

        public String getIsagentgoods() {
            return isagentgoods;
        }

        public void setIsagentgoods(String isagentgoods) {
            this.isagentgoods = isagentgoods;
        }

        public String getBegin_price() {
            return begin_price;
        }

        public void setBegin_price(String begin_price) {
            this.begin_price = begin_price;
        }

        public String getEnd_price() {
            return end_price;
        }

        public void setEnd_price(String end_price) {
            this.end_price = end_price;
        }

        public String getProfit() {
            return profit;
        }

        public void setProfit(String profit) {
            this.profit = profit;
        }

        public List<String> getImages() {
            return images;
        }

        public void setImages(List<String> images) {
            this.images = images;
        }
    }
}
